<%@ Reference Page="~/ThumbNails.aspx" %>
<%@ Page language="c#" EnableViewState="true" Inherits="FlashBack.Web.DetailList" CodeFile="DetailList.aspx.cs" CodeFileBaseClass="FlashBack.Web.ThumbNails" %>

<HTML>
  <HEAD>
		<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<meta name="CODE_LANGUAGE" Content="C#">
		<LINK REL="stylesheet" Type="text/css" HREF="FlashBack.css">
  </HEAD>
	
  <BODY>
		<form method="post" runat="server" ID="Form1">
		<table width="100%" border="0" cellpadding="4" cellspacing="0">
			<tr class="Header">
				<td width="40%" height="26">
					<asp:label id="detailstitle" runat="server"></asp:label>
				</td>
				<td align="right">
					<asp:hyperlink id="attributeLink" Visible="False" title="Allows you to edit picture attributes" runat="Server">Set Attributes&nbsp;</asp:hyperlink>
				</td>
			</tr>
		</table>
				
		<div align="center">
		<asp:Label Visible="False" ID="MsgLabel" Runat="server"></asp:Label>
		<asp:DataGrid AllowPaging="True" OnPageIndexChanged="ChangePageIndex"
					  PagerStyle-Mode="NumericPages" PageSize="15"
					  PagerStyle-HorizontalAlign="Right"
					  ID="DetailsGrid" CssClass="searchBody" Runat="server" 
					  AutoGenerateColumns="False" BorderStyle="Solid" 
					  BorderColor="Green" Width="98%" CellPadding="4"
					  OnItemDataBound="onRowBound">
			<HeaderStyle CssClass="bandHeader">
			</HeaderStyle>

			<Columns>
			<asp:BoundColumn DataField="tnpath" ItemStyle-Wrap="False" ItemStyle-Width="1%" HeaderText=""></asp:BoundColumn>
			<asp:BoundColumn DataField="Name" ItemStyle-Wrap="False" HeaderText="Name"></asp:BoundColumn>
			<asp:BoundColumn DataField="DateTaken" ItemStyle-Wrap="False" ItemStyle-Width="1%" HeaderText="Date Taken"></asp:BoundColumn>
			<asp:BoundColumn DataField="Size" ItemStyle-Width="1%" ItemStyle-Wrap="False" HeaderText="Size"></asp:BoundColumn>
			<asp:BoundColumn DataField="download" ItemStyle-Width="20%" HeaderText="Actions"></asp:BoundColumn>
			</Columns>
		</asp:DataGrid>
		</div>
		</form>
	</BODY>
</HTML>
